package com.itheima.抽象类.抽象类作用_03;

//子类只需要关注取餐方法就行了
public class LiuYan  extends EatTemplate{
    @Override
    public void quCan() {
        System.out.println("西红柿鸡蛋");
        System.out.println("锅包肉");
        System.out.println("来碗米饭");
    }
}

class YangMi  extends EatTemplate{
    @Override
    public void quCan() {
        System.out.println("小鸡炖蘑菇");
        System.out.println("土豆丝");
        System.out.println("来两馒头");
    }
}
